package cn.wcy.design_patterns.creationtype01.abstractfactory02;

import org.springframework.beans.factory.InitializingBean;

import java.util.concurrent.TimeUnit;

public interface CacheService extends InitializingBean {

    String get(final String key);

    void set(String key, String value);

    void set(String key, String value, long timeout, TimeUnit timeUnit);

    void del(String key);

}
